package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.DispatchAlarmArea;

/**
 * 区域预警Service接口
 * 
 * @author ruoyi
 * @date 2025-03-02
 */
public interface IDispatchAlarmAreaService 
{
    /**
     * 查询区域预警
     * 
     * @param alarmAreaId 区域预警主键
     * @return 区域预警
     */
    public DispatchAlarmArea selectDispatchAlarmAreaByAlarmAreaId(Long alarmAreaId);

    /**
     * 查询区域预警列表
     * 
     * @param dispatchAlarmArea 区域预警
     * @return 区域预警集合
     */
    public List<DispatchAlarmArea> selectDispatchAlarmAreaList(DispatchAlarmArea dispatchAlarmArea);

    /**
     * 新增区域预警
     * 
     * @param dispatchAlarmArea 区域预警
     * @return 结果
     */
    public int insertDispatchAlarmArea(DispatchAlarmArea dispatchAlarmArea);

    /**
     * 修改区域预警
     * 
     * @param dispatchAlarmArea 区域预警
     * @return 结果
     */
    public int updateDispatchAlarmArea(DispatchAlarmArea dispatchAlarmArea);

    /**
     * 批量删除区域预警
     * 
     * @param alarmAreaIds 需要删除的区域预警主键集合
     * @return 结果
     */
    public int deleteDispatchAlarmAreaByAlarmAreaIds(Long[] alarmAreaIds);

    /**
     * 删除区域预警信息
     * 
     * @param alarmAreaId 区域预警主键
     * @return 结果
     */
    public int deleteDispatchAlarmAreaByAlarmAreaId(Long alarmAreaId);
}
